extends layout/pure

block content
	div.container(style='margin:20px')
		table.table.table-bordered.table-striped
			thead
				tr
					th(style='width:40px') #
					th(style='width:180px') Id
					th(style='width:200px') RoomId
					th(style='width:200px') Start
					th(style='width:200px') End
					th(style='width:200px') Title
					th(style='width:200px') User
					th Reservation Created
			tbody
			- for (var i = 0; i < resns.length; i++)
				tr
					td= i+1
					td= resns[i].id
					td= resns[i].room_id
					td= resns[i].start
					td= resns[i].end
					td= resns[i].title
					td= resns[i].user
					td= resns[i].date